﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PresentationLayer
{
    public partial class DelegationSuccessful : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            String para = Request.QueryString["status"];
            if (para == "Delegate")
            {
                tilte.InnerText = "Your Delegation successful";
                paragraph.InnerText = "An email has been sent to your employee to inform about delegation authority.";
            }
            else
            {
                tilte.InnerText = "Revoking Authority successful";
                paragraph.InnerText = "An email has been sent to your employee to inform about revoking authority.";
            }

        }
    }
}